package com.bblocks.communityInfo.client;



import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description="订单项Dto")
public class OrderItemDto implements Serializable {

	private static final long serialVersionUID = 5354203715512352213L;

	/** 订单项ID */
	@Schema(description = "订单项ID")
	private Long subItemId; 
	
	/** 订单号 */
	@Schema(description = "订单号")
	private String subNumber; 
	
	/** 订单项流水号 */
	@Schema(description = "订单项流水号")
	private String subItemNumber; 
		
	/** 产品ID */
	@Schema(description = "产品ID")
	private Long prodId; 
		
	/** 产品SkuID */
	@Schema(description = "产品SkuID")
	private Long skuId; 
	
	/** 快照ID */
	@Schema(description = "快照ID")
	private Long snapshotId;
		
	/** 购物车产品个数 */
	@Schema(description = "购物车产品个数 ")
	private long basketCount; 
		
	/** 产品名称 */
	@Schema(description = "产品名称")
	private String prodName; 
		
	/** 产品动态属性 */
	@Schema(description = "产品动态属性")
	private String attribute; 
		
	/** 产品主图片路径 */
	@Schema(description = "产品主图片路径")
	private String pic; 
		
	/** 产品原价 */
	@Schema(description = "产品原价")
	private Double price; 
		
	/** 产品现价 */
	@Schema(description = "产品现价")
	private Double cash; 
		
	/** 用户名称 */
	@Schema(description = "用户名称 ")
	private String userId; 
		
	/** 商品总金额 */
	@Schema(description = "商品总金额")
	private Double productTotalAmout; 
		
	/** 获得积分 */
	@Schema(description = "获得积分")
	private Integer obtainIntegral; 
		
	/** 购物时间 */
	@Schema(description = "购物时间")
	private Date subItemDate; 
	
	/** 物流重量*/
	@Schema(description = "物流重量")
	private Double weight;
	
	/** 物流体积*/
	@Schema(description = "物流体积")
	private Double volume;
	
	/** 是否已经评价 */
	@Schema(description = "是否已经评价")
	private Integer commSts;
	
	/** 退款/退货记录ID */
	@Schema(description = "退款/退货记录ID")
	private Long refundId;
	
	/** 退款/退货状态    0:没发起过退款,1:在处理,2:处理完成,-1:不同意 */
	@Schema(description = "退款/退货状态    0:没发起过退款,1:在处理,2:处理完成,-1:不同意")
	private Long refundState;
	
	/** 退款金额 */
	@Schema(description = "退款金额 ")
	private Double refundAmount;
	
	/** 申请类型:1:仅退款,2:退款退货 */
	@Schema(description = "申请类型:1:仅退款,2:退款退货")
	private Long refundType;
	
	/** 退货数量 */
	@Schema(description = "退货数量")
	private Long refundCount;
	
	/** 是否在退换货有效时间内 */
	@Schema(description = "是否在退换货有效时间内")
	private Boolean isInReturnValidPeriod;

	/**
	 * 包裹ID
	 */
	@Schema(description = "包裹ID")
	private Long packageId;

	/**
	 * 包裹item数量
	 */
	@Schema(description = "包裹含产品数量")
	private Integer packageContantsNum;

	//@Schema(description = "包裹")
	//private SubPackage subPackage;


}
